<?php
class MY_Controller extends CI_Controller{

	function __construct()
	{
		parent::__construct();
		$this->theme = 'default';
		//$this->url = $this->uri->segment(1);
	}

	function title($title)
	{
		if($title == 'home'){
	 	return $title_text = "YUHUA Shop";
		}else{
			return $title_text = $title." - YUHUA Shop";
		}
	}


}